back · tests/cropper.spec.js:404:4 / Cropper view / creating a new bounding box / with 2-point tool
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:222:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:561:18)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:222:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:561:18)
Error: expect(locator).toHaveCount(expected) failed
Locator: locator('aside').getByRole('listitem').filter({ hasText: /Boîte #\d+/ })
Expected: 1
Received: 2
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for locator('aside').getByRole('listitem').filter({ hasText: /Boîte #\d+/ })
14 × locator resolved to 2 elements
- unexpected value "2"
at tests/cropper.spec.js:410:42
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:222:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:561:18)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:222:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:561:18)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:222:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:561:18)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:222:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:561:18)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:222:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:561:18)
Error: expect(locator).toHaveCount(expected) failed
Locator: locator('aside').getByRole('listitem').filter({ hasText: /Boîte #\d+/ })
Expected: 2
Received: 3
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for locator('aside').getByRole('listitem').filter({ hasText: /Boîte #\d+/ })
14 × locator resolved to 3 elements
- unexpected value "3"
at tests/cropper.spec.js:415:42
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:222:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:561:18)
Error: expect(locator).toHaveCount(expected) failed
Locator: locator('aside').getByRole('listitem').filter({ hasText: /Boîte #\d+/ })
Expected: 2
Received: 3
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for locator('aside').getByRole('listitem').filter({ hasText: /Boîte #\d+/ })
14 × locator resolved to 3 elements
- unexpected value "3"
at tests/cropper.spec.js:415:42
Error: locator.click: Test ended.
Call log:
- waiting for getByRole('img', { name: 'lil-fella.jpeg' })
at tests/cropper.spec.js:233:60
Test timeout of 120000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:232:8
Error: expect(locator).not.toHaveText(expected) failed
Locator: getByTestId('app-main')
Expected pattern: not /Chargement du modèle de recadrage…/
Received string: " Chargement du modèle de recadrage… detector-arthropoda.onnx 48%"
Timeout: 20000ms
Call log:
- Expect "not toHaveText" with timeout 20000ms
- waiting for getByTestId('app-main')
5 × locator resolved to <div data-testid="app-main" class="main svelte-di4wkt">…</div>
- unexpected value " Chargement du modèle de recadrage… detector-arthropoda.onnx 0%"
- locator resolved to <div data-testid="app-main" class="main svelte-di4wkt">…</div>
- unexpected value " Chargement du modèle de recadrage… detector-arthropoda.onnx 6%"
38 × locator resolved to <div data-testid="app-main" class="main svelte-di4wkt">…</div>
- unexpected value " Chargement du modèle de recadrage… detector-arthropoda.onnx 48%"
at goToTab (tests/utils/navigation.js:103:50)
at tests/cropper.spec.js:34:3
Error: expect(locator).toHaveCount(expected) failed
Locator: locator('aside').getByRole('listitem').filter({ hasText: /Boîte #\d+/ })
Expected: 1
Received: 2
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for locator('aside').getByRole('listitem').filter({ hasText: /Boîte #\d+/ })
14 × locator resolved to 2 elements
- unexpected value "2"
at tests/cropper.spec.js:410:42
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:204:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:521:18)
Error: expect(locator).toHaveCount(expected) failed
Locator: locator('aside').getByRole('listitem').filter({ hasText: /Boîte #\d+/ })
Expected: 1
Received: 2
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for locator('aside').getByRole('listitem').filter({ hasText: /Boîte #\d+/ })
14 × locator resolved to 2 elements
- unexpected value "2"
at tests/cropper.spec.js:410:42
Error: page.evaluate: InvalidStateError: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
at listTable (tests/utils/database.js:43:27)
at Object.list (tests/fixtures.ts:233:24)
at tests/cropper.spec.js:28:40
Error: locator.click: Test ended.
Call log:
- waiting for getByRole('button', { name: '2 points' })
at tests/cropper.spec.js:362:58
Error: page.evaluate: InvalidStateError: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
at dumpDatabase (tests/utils/database.js:61:33)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:528:18)
Test timeout of 120000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:361:9
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:204:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:521:18)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:204:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:521:18)
Error: locator.click: Test timeout of 120000ms exceeded.
Call log:
- waiting for getByTestId('app-nav').getByRole('link', { name: 'Importer' })
at goToTab (tests/utils/navigation.js:98:31)
at Object.go (tests/fixtures.ts:390:33)
at tests/cropper.spec.js:27:18
Test timeout of 120000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: expect(locator).not.toHaveText(expected) failed
Locator: getByTestId('app-main')
Expected pattern: not /Chargement du modèle de recadrage…/
Received string: " Chargement du modèle de recadrage… detector-arthropoda.onnx 0%"
Timeout: 20000ms
Call log:
- Expect "not toHaveText" with timeout 20000ms
- waiting for getByTestId('app-main')
44 × locator resolved to <div data-testid="app-main" class="main svelte-di4wkt">…</div>
- unexpected value " Chargement du modèle de recadrage… detector-arthropoda.onnx 0%"
at goToTab (tests/utils/navigation.js:103:50)
at tests/cropper.spec.js:34:3
Error: expect(locator).toHaveCount(expected) failed
Locator: locator('aside').getByRole('listitem').filter({ hasText: /Boîte #\d+/ })
Expected: 1
Received: 2
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for locator('aside').getByRole('listitem').filter({ hasText: /Boîte #\d+/ })
14 × locator resolved to 2 elements
- unexpected value "2"
at tests/cropper.spec.js:410:42
Error: expect(locator).toHaveCount(expected) failed
Locator: locator('aside').getByRole('listitem').filter({ hasText: /Boîte #\d+/ })
Expected: 1
Received: 2
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for locator('aside').getByRole('listitem').filter({ hasText: /Boîte #\d+/ })
14 × locator resolved to 2 elements
- unexpected value "2"
at tests/cropper.spec.js:410:42
Error: page.waitForURL: Test timeout of 120000ms exceeded.
=========================== logs ===========================
waiting for navigation until "load"
============================================================
at waitForRoute (tests/utils/navigation.js:183:13)
at chooseFirstSession (tests/utils/sessions.js:147:8)
at tests/cropper.spec.js:26:3
Test timeout of 120000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: expect(locator).toHaveCount(expected) failed
Locator: locator('aside').getByRole('listitem').filter({ hasText: /Boîte #\d+/ })
Expected: 1
Received: 2
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for locator('aside').getByRole('listitem').filter({ hasText: /Boîte #\d+/ })
14 × locator resolved to 2 elements
- unexpected value "2"
at tests/cropper.spec.js:410:42
Error: locator.click: Test timeout of 120000ms exceeded.
Call log:
- waiting for getByTestId('app-nav').getByRole('link', { name: 'Importer' })
at goToTab (tests/utils/navigation.js:98:31)
at Object.go (tests/fixtures.ts:409:33)
at tests/cropper.spec.js:27:18
Test timeout of 120000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7